Skip to content

fix(backup): stop passing deprecated -eula flag to vmbackupmanager#2131

Open
alliasgher wants to merge 1 commit intoVictoriaMetrics:masterfrom
alliasgher:fix-remove-eula-flag
Open

fix(backup): stop passing deprecated -eula flag to vmbackupmanager#2131
alliasgher wants to merge 1 commit intoVictoriaMetrics:masterfrom
alliasgher:fix-remove-eula-flag

Conversation

@alliasgher
Copy link
Copy Markdown

@alliasgher alliasgher commented May 2, 2026

The -eula flag was deprecated in VictoriaMetrics and will be removed, causing a startup error in vmbackupmanager once that happens. Remove the two places in build/backup.go where the operator appends -eula to the container args.

The AcceptEULA field on the CR is intentionally left in place so existing configurations that set it don't require a breaking change.

Fixes #1319


Summary by cubic

Stop passing the deprecated -eula flag to vmbackupmanager in backup and restore args so it starts cleanly on current and future VictoriaMetrics versions. The AcceptEULA CR field stays for backward compatibility but no longer changes container args.

Written for commit 1cd828d. Summary will update on new commits.

The -eula flag was deprecated in VictoriaMetrics and will be removed,
which would cause a startup error in vmbackupmanager. Remove the two
places where the operator appended -eula to the container args so
that vmbackupmanager starts cleanly on current and future VictoriaMetrics
versions.

The AcceptEULA field on the CR is left in place for backward
compatibility (existing configs that set it will keep working without
producing a flag the binary no longer recognises).

Fixes VictoriaMetrics#1319

Signed-off-by: alliasgher <alliasgher123@gmail.com>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove usage of -eula flag

1 participant